home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010306-20010921 / 000035_news@columbia.edu _Tue Mar 20 08:51:38 2001.msg < prev    next >
Internet Message Format  |  2020-01-01  |  6KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id IAA16953
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Tue, 20 Mar 2001 08:51:37 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id IAA11080
  7.     for kermit.misc@watsun.cc.columbia.edu; Tue, 20 Mar 2001 08:49:41 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: jaltman@columbia.edu (Jeffrey Altman)
  10. Subject: Re: Kermit Protocol basic questions
  11. Date: 20 Mar 2001 13:49:40 GMT
  12. Organization: Columbia University
  13. Message-ID: <997n5k$aq6$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@columbia.edu
  15.  
  16. In article <3ab4edcb$1@news.iprimus.com.au>,
  17. --abc-- <ima_devo@hotmail.com> wrote:
  18. : Hi All,
  19. : I am currently doing a comparison of the Kermit and FTP protocols and have
  20. : some questions:
  21.  
  22. I realize Frank already responded to this post, but I have a slightly
  23. different perspective on some of the issues.  In particular, this
  24. should not be a comparison of Kermit protocol and FTP.  It should be a
  25. comparison of the Internet Kermit Service and FTP.
  26.  
  27. : 1) Does Kermits use of a single multiplexed channel have implications for
  28. : simultaneous transfer of commands while data transfer is in progress? (ie.
  29. : In FTP there is the 2 channels available)
  30.  
  31. The answer to this is 'no'.  Even though FTP uses separate channels
  32. for commands and data, there should not be any communication on the
  33. command channel while a data channel is in use.  The reason for the
  34. use of the data channel is to provide a clean separation of the data
  35. and to be able to provide a clearly understood "end of file" mark, the
  36. closing of the data channel.
  37.  
  38. FTP clients or servers that do send data on the command channel while
  39. data transfers are in progress can both confuse their peers and
  40. prevent secure sessions from being used when both the command and data
  41. channels are protected by the same streaming cipher.
  42.  
  43. The Internet Kermit Service by using Kermit protocol over a single
  44. channel provides all of the necessary functionality to perform data
  45. and command exchanges with a well defined set of rules.  By using a
  46. single channel the connection is both easier to secure as well as more
  47. flexible since the use of multiple channels requires an end to end IP
  48. connection as well as specially configured firewalls when more than
  49. one is in use for any given transfer.
  50.  
  51. : 2) Is the error recovery/Restart functionality available regardless
  52. : of the mode of transfer? (In FTP crash recovery not avaialble using
  53. : stream mode).
  54.  
  55. Restart functionality is difficult to perform in Text mode transfers
  56. because of two features of the Kermit protocol:
  57.  
  58.  . end of line transformation
  59.  
  60.  . character set translation
  61.  
  62. both of which make it difficult to determine where the sender is to
  63. begin from based upon what data the receiver currently has.  When
  64. transfering data over a network it is necessary for the data to be
  65. placed on the wire in a portable format.  So the sender does not know
  66. what form the receiver is storing the data.  In fact, even if the
  67. sender was given the information, it might not support that data
  68. representation itself.
  69.  
  70. : 3) When using FTP, user may set up a connection between 2 other
  71. : servers/machines, and use the users host to control the session. Is this
  72. : capability available in Kermit?
  73.  
  74. This mode is called "FTP Proxy mode".  A client makes connections to
  75. two FTP servers at the same time and then instructs Server A to make a
  76. connection with Server B (which is in passive mode) instead of with
  77. the client.  There are several problems with this feature that have
  78. resulted in many FTP server vendors refusing to implement it:
  79.  
  80.  . the ability to instruct Server A to connect to some other host
  81.    on an arbitrary port allows the server to be used for denial of
  82.    service attacks.  Imagine I want to attack your machine without
  83.    you knowing who I am.  I can establish an anonymous ftp session
  84.    with a ftp server and then have that server connect to your
  85.    machine on my behalf.
  86.  
  87.  . the data connection between the two FTP servers can not be 
  88.    authenticated and therefore not secured.  There is no command
  89.    channel between the two servers.  Therefore, there is no mechanism
  90.    for the two servers to determine that they are communicating with
  91.    the correct partner.
  92.  
  93. The IKS does not implement this feature to prevent the first problem.
  94. Although, if it did implement the ability to establish outgoing
  95. connections to a third host it would not suffer from the second
  96. problem due to its single channel.  
  97.  
  98. In fact, if you want this functionality you can simply use C-Kermit
  99. over a secure Telnet daemon.  Telnet to Server A, start C-Kermit and
  100. establish a secure connection to the IKS on Server B, and instruct
  101. Server A and B to exchange files.
  102.  
  103. : Also, if u feel OK about some offtopic FTP questions :)  :
  104. : 1)  Does FTP encrypt the login info for start of session, or are plain text
  105. : passwords sent? Or does the TELNET client encrypt the login info?
  106.  
  107. Both FTP and Telnet protocols provide for strong authentication and
  108. encryption of the TCP/IP connections.  Authentication is mutual and
  109. encryption and integrity protection are provided in both directions
  110. for both command and file data.  In Telnet, the request for security
  111. can be initiated by either client or the server.  In FTP, the request
  112. must be initiated by the client.
  113.  
  114.  
  115.  Jeffrey Altman * Sr.Software Designer      C-Kermit 7.1 Alpha available
  116.  The Kermit Project @ Columbia University   includes Secure Telnet and FTP
  117.  http://www.kermit-project.org/             using Kerberos, SRP, and 
  118.  kermit-support@kermit-project.org          OpenSSL.  SSH soon to follow.